package com.cloudcross.ssp.model;

import com.cloudcross.ssp.web.widget.SelectorController.ISelector;

public class Industry implements ISelector{
	
	private Long id;
	
	private String name;
	
	private Long fatherId;
	
	private String fatherName;
	
	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public Long getFatherId() {
		return fatherId;
	}

	public void setFatherId(Long fatherId) {
		this.fatherId = fatherId;
	}
	
	

	public String getFatherName() {
		return fatherName;
	}

	public void setFatherName(String fatherName) {
		this.fatherName = fatherName;
	}

	@Override
	public String getLabel() {
		// TODO Auto-generated method stub
		return this.name;
	}

	@Override
	public String getValue() {
		// TODO Auto-generated method stub
		return String.valueOf(this.id);
	}
	
}
